import request from '@/utils/request'      //教育培训

// 培训项目列表
export function listTrainProject (data) {
    return request({
        url: '/system/project/getProjectList',
        method: 'POST',
        data: data
    })
}

// 新增项目
export function addTrainProject (data) {
    return request({
        url: '/system/project/add',
        method: 'post',
        data: data
    })
}

// 添加培训张片
export function addProjectPhoto (data) {
    return request({
        url: '/system/project/saveProjectPhoto',
        method: 'post',
        data: data
    })
}


// 项目详情
export function getProjectDetail (data) {
    return request({
        url: '/system/project/getProjectDetailById',
        method: 'post',
        data: data
    })
}